home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Random2.0 / RandomPlot / RandomPlot.nib (.txt) < prev    next >
NeXT TypedStream Data  |  1995-06-12  |  16KB  |  740 lines

  1. typedstream
  2. StreamTable
  3.     HashTable
  4. Object
  5. [20c]
  6. typedstream
  7. [711c]
  8. typedstream
  9.     HashTable
  10. Object
  11. PointsView
  12. HeaderClass
  13. %%%%i@@
  14. /usr/include/sys/message.h
  15. viewnib
  16. startButton
  17. stopButton
  18. randGen
  19. plotPoints:
  20. start:
  21. stop:
  22. clear:
  23. plotLines:
  24. FirstResponder
  25. firstnib
  26. checkSpelling:
  27. alignSelCenter:
  28.     unscript:
  29. pasteFont:
  30. runPageLayout:
  31. superscript:
  32. copyRuler:
  33.     copyFont:
  34. selectAll:
  35. pasteRuler:
  36. toggleRuler:
  37. showGuessPanel:
  38. alignSelLeft:
  39. paste:
  40. performClose:
  41. arrangeInFront:
  42. subscript:
  43. copy:
  44. alignSelRight:
  45. delete:
  46. orderFrontColorPanel:
  47. underline:
  48. performMiniaturize:
  49. [15638c]
  50. typedstream
  51.     HashTable
  52. Object
  53. NXImage
  54. CDS TIFF Logo
  55. NXBitmapImageRep
  56. NXImageRep
  57. iissss+7
  58. [605c]
  59. CDS EPS Logo
  60. NXEPSImageRep
  61. [11867c]%!PS-Adobe-2.0 EPSF-1.2
  62. %%Creator: Adobe Illustrator 88(TM) 1.8.3
  63. %%For: (Office of Instructional Technology) (The University of Michigan)
  64. %%Title: (CDS Logo.eps)
  65. %%CreationDate: (4/1/92) (4:28 PM)
  66. %%DocumentProcSets: Adobe_packedarray 0 0
  67. %%DocumentSuppliedProcSets: Adobe_packedarray 0 0
  68. %%DocumentProcSets: Adobe_cmykcolor 0 0
  69. %%DocumentSuppliedProcSets: Adobe_cmykcolor 0 0
  70. %%DocumentProcSets: Adobe_cshow 0 0
  71. %%DocumentSuppliedProcSets: Adobe_cshow 0 0
  72. %%DocumentProcSets: Adobe_customcolor 0 0
  73. %%DocumentSuppliedProcSets: Adobe_customcolor 0 0
  74. %%DocumentProcSets: Adobe_Illustrator881 0 0
  75. %%DocumentSuppliedProcSets: Adobe_Illustrator881 0 0
  76. %%ColorUsage: Black&White
  77. %%DocumentProcessColors: Black
  78. %%BoundingBox:98 179 452 630
  79. %%TemplateBox:288 360 288 360
  80. %%TileBox:-552 730 0 1460
  81. %%EndComments
  82. %%BeginProcSet: Adobe_packedarray 0 0
  83. % packedarray Operators
  84. % Version 1.0 5/9/1988
  85. % Copyright (C) 1987, 1988
  86. % Adobe Systems Incorporated
  87. % All Rights Reserved
  88. userdict /Adobe_packedarray 5 dict dup begin put
  89. /initialize            % - initialize -
  90. /packedarray where
  91.     Adobe_packedarray begin
  92.     Adobe_packedarray
  93.         dup xcheck
  94.             bind
  95.             } if
  96.         userdict 3 1 roll put
  97.         } forall
  98.     } ifelse
  99. } def
  100. /terminate            % - terminate -
  101. } def
  102. /packedarray        % arguments count packedarray array
  103. array astore readonly
  104. } def
  105. /setpacking            % boolean setpacking -
  106. } def
  107. /currentpacking        % - setpacking boolean
  108. false
  109. } def
  110. currentdict readonly pop end
  111. %%EndProcSet
  112. Adobe_packedarray /initialize get exec
  113. %%BeginProcSet: Adobe_cmykcolor 0 0
  114. % cmykcolor Operators
  115. % Version 1.1 1/23/1989
  116. % Copyright (C) 1987, 1988, 1989
  117. % Adobe Systems Incorporated
  118. % All Rights Reserved
  119. currentpacking true setpacking
  120. userdict /Adobe_cmykcolor 4 dict dup begin put
  121. /initialize            % - initialize -
  122. /setcmykcolor where
  123.     userdict /Adobe_cmykcolor_vars 2 dict dup begin put
  124.     /_setrgbcolor
  125.         /setrgbcolor load def
  126.     /_currentrgbcolor
  127.         /currentrgbcolor load def
  128.     Adobe_cmykcolor begin
  129.     Adobe_cmykcolor
  130.         dup xcheck
  131.             bind
  132.             } if
  133.         pop pop
  134.         } forall
  135.     Adobe_cmykcolor begin
  136.     } ifelse
  137. } def
  138. /terminate            % - terminate -
  139. currentdict Adobe_cmykcolor eq
  140.     } if
  141. } def
  142. /setcmykcolor        % cyan magenta yellow black setcmykcolor -
  143. 1 sub 4 1 roll
  144.     3 index add neg dup 0 lt
  145.         pop 0
  146.         } if
  147.     3 1 roll
  148.     } repeat
  149. Adobe_cmykcolor_vars /_setrgbcolor get exec
  150. } def 
  151. /currentcmykcolor    % - currentcmykcolor cyan magenta yellow black
  152. Adobe_cmykcolor_vars /_currentrgbcolor get exec
  153.     1 sub neg 3 1 roll
  154.     } repeat
  155. } def
  156. currentdict readonly pop end
  157. setpacking
  158. %%EndProcSet
  159. %%BeginProcSet: Adobe_cshow 0 0
  160. % cshow Operator
  161. % Version 1.1 1/23/1989
  162. % Copyright (C) 1987, 1988, 1989
  163. % Adobe Systems Incorporated
  164. % All Rights Reserved
  165. currentpacking true setpacking
  166. userdict /Adobe_cshow 3 dict dup begin put
  167. /initialize            % - initialize -
  168. /cshow where
  169.     userdict /Adobe_cshow_vars 1 dict dup begin put
  170.     /_cshow        % - _cshow proc
  171.         {} def
  172.     Adobe_cshow begin
  173.     Adobe_cshow
  174.         dup xcheck
  175.             bind
  176.             } if
  177.         userdict 3 1 roll put
  178.         } forall
  179.     } ifelse
  180. } def
  181. /terminate            % - terminate -
  182. } def
  183. /cshow                % proc string cshow -
  184. Adobe_cshow_vars
  185.     exch /_cshow
  186.     exch put
  187.     0 0 Adobe_cshow_vars /_cshow get exec
  188.     } forall
  189. } def
  190. currentdict readonly pop end
  191. setpacking
  192. %%EndProcSet
  193. %%BeginProcSet: Adobe_customcolor 0 0
  194. % Custom Color Operators
  195. % Version 1.0 5/9/1988
  196. % Copyright (C) 1987, 1988
  197. % Adobe Systems Incorporated
  198. % All Rights Reserved
  199. currentpacking true setpacking
  200. userdict /Adobe_customcolor 5 dict dup begin put
  201. /initialize            % - initialize -
  202. /setcustomcolor where
  203.     Adobe_customcolor begin
  204.     Adobe_customcolor
  205.         dup xcheck
  206.             bind
  207.             } if
  208.         pop pop
  209.         } forall
  210.     Adobe_customcolor begin
  211.     } ifelse
  212. } def
  213. /terminate            % - terminate -
  214. currentdict Adobe_customcolor eq
  215.     } if
  216. } def
  217. /findcmykcustomcolor    % cyan magenta yellow black name findcmykcustomcolor object
  218. 5 packedarray
  219. }  def
  220. /setcustomcolor        % object tint setcustomcolor -
  221. aload pop pop
  222.     4 index mul 4 1 roll
  223.     } repeat
  224. 5 -1 roll pop
  225. setcmykcolor
  226. } def
  227. /setoverprint        % boolean setoverprint -
  228. } def
  229. currentdict readonly pop end
  230. setpacking
  231. %%EndProcSet
  232. %%BeginProcSet: Adobe_Illustrator881 0 0
  233. % Adobe Illustrator (TM) Prolog
  234. % Version 1.19 1/23/1989
  235. % Copyright (C) 1987, 1988, 1989
  236. % Adobe Systems Incorporated
  237. % All Rights Reserved
  238. currentpacking true setpacking
  239. userdict /Adobe_Illustrator881 72 dict dup begin put
  240. % initialization
  241. /initialize                % - initialize -
  242. userdict /Adobe_Illustrator881_vars 29 dict dup begin put
  243. % paint operands
  244. /_lp /none def
  245. /_pf {} def
  246. /_ps {} def
  247. /_psf {} def
  248. /_pss {} def
  249. % text operands
  250. /_a null def
  251. /_as null def
  252. /_tt 2 array def
  253. /_tl 2 array def
  254. /_tm matrix def
  255. /t {} def
  256. % color operands
  257. /_gf null def
  258. /_cf 4 array def
  259. /_if null def
  260. /_of false def
  261. /_fc {} def
  262. /_gs null def
  263. /_cs 4 array def
  264. /_is null def
  265. /_os false def
  266. /_sc {} def
  267. /_i null def
  268. Adobe_Illustrator881 begin
  269. Adobe_Illustrator881
  270.     dup xcheck
  271.         bind
  272.         } if
  273.     pop pop
  274.     } forall
  275. Adobe_Illustrator881 begin
  276. Adobe_Illustrator881_vars begin
  277. newpath
  278. } def
  279. /terminate                % - terminate -
  280. } def
  281. % definition operators
  282. /_                    % - _ null
  283. null def
  284. /ddef                % key value ddef -
  285. Adobe_Illustrator881_vars 3 1 roll put
  286. } def
  287. /xput                % key value literal xput -
  288. dup load dup length exch maxlength eq
  289.     dup dup load dup
  290.     length 2 mul dict copy def
  291.     } if
  292. load begin def end
  293. } def
  294. /npop                % integer npop -
  295.     } repeat
  296. } def
  297. % marking operators
  298. /sw                    % ax ay length string sw x y
  299. stringwidth
  300. exch 5 -1 roll 3 index 1 sub mul add
  301. 4 1 roll 3 1 roll 1 sub mul add
  302. } def
  303. /ss                    % ax ay length string matrix ss -
  304. 3 -1 roll pop
  305. 4 1 roll
  306.     2 npop (0) exch
  307.     2 copy 0 exch put pop
  308.     gsave
  309.     false charpath
  310.     currentpoint
  311.     4 index setmatrix
  312.     stroke
  313.     grestore
  314.     moveto
  315.     2 copy rmoveto
  316.     } exch cshow
  317. 3 npop
  318. } def
  319. % path operators
  320. /sp                    % ax ay length string sp -
  321. exch pop
  322.     2 npop (0) exch
  323.     2 copy 0 exch put pop
  324.     false charpath
  325.     2 copy rmoveto
  326.     } exch cshow
  327. 2 npop
  328. } def
  329. % path construction operators
  330. /pl                    % x y pl x y
  331. transform
  332. 0.25 sub round 0.25 add exch
  333. 0.25 sub round 0.25 add exch
  334. itransform
  335. } def
  336. /setstrokeadjust where
  337. pop true setstrokeadjust
  338. /c                % x1 y1 x2 y2 x3 y3 c -
  339. curveto
  340. } def
  341. /c load def
  342. /v                % x2 y2 x3 y3 v -
  343. currentpoint 6 2 roll curveto
  344. } def
  345. /v load def
  346. /y                % x1 y1 x2 y2 y -
  347. 2 copy curveto
  348. } def
  349. /y load def
  350. /l                % x y l -
  351. lineto
  352. } def
  353. /l load def
  354. /m                % x y m -
  355. moveto
  356. } def
  357. pl curveto
  358. } def
  359. /c load def
  360. currentpoint 6 2 roll pl curveto
  361. } def
  362. /v load def
  363. pl 2 copy curveto
  364. } def
  365. /y load def
  366. pl lineto
  367. } def
  368. /l load def
  369. pl moveto
  370. } def
  371. } ifelse
  372. % graphic state operators
  373. /d                    % array phase d -
  374. setdash
  375. } def
  376. /cf                    % - cf flatness
  377. currentflat def
  378. /i                    % flatness i -
  379. dup 0 eq
  380.     pop cf
  381.     } if
  382. setflat
  383. } def
  384. /j                    % linejoin j -
  385. setlinejoin
  386. } def
  387. /J                    % linecap J -
  388. setlinecap
  389. } def
  390. /M                    % miterlimit M -
  391. setmiterlimit
  392. } def
  393. /w                    % linewidth w -
  394. setlinewidth
  395. } def
  396. % path painting operators
  397. /H                    % - H -
  398. {} def
  399. /h                    % - h -
  400. closepath
  401. } def
  402. /N                    % - N -
  403. newpath
  404. } def
  405. /n                    % - n -
  406. /N load def
  407. /F                    % - F -
  408. } def
  409. /f                    % - f -
  410. closepath
  411. } def
  412. /S                    % - S -
  413. } def
  414. /s                    % - s -
  415. closepath
  416. } def
  417. /B                    % - B -
  418. gsave F grestore
  419. } def
  420. /b                    % - b -
  421. closepath
  422. } def
  423. /W                    % - W -
  424. } def
  425. % text painting operators
  426. /ta                    % length string ta ax ay length string
  427. _as moveto
  428. _tt aload pop 4 -2 roll
  429. } def
  430. /tl                    % - tl -
  431. _tl aload pop translate
  432. } def
  433. /as                    % - as array
  434. 2 copy _tt aload pop 4 -2 roll sw
  435. exch neg 2 div exch neg 2 div
  436. 2 copy _tt aload pop 4 -2 roll sw
  437. exch neg exch neg
  438. } cvlit def
  439. /z                    % literal size leading tracking align z -
  440. /_a exch ddef
  441. /_as as _a get ddef
  442. _a 2 le
  443.     0 _tt astore pop
  444.     0 exch neg _tl astore pop
  445.     0 exch neg _tt astore pop
  446.     neg 0 _tl astore pop
  447.     } ifelse
  448. exch findfont exch scalefont setfont
  449. } def
  450. /tm                    % matrix tm -
  451. _tm currentmatrix pop
  452. concat
  453. } def
  454. /I                    % matrix I -
  455.     ta sp
  456.     } ddef
  457. } def
  458. /o                    % matrix o -
  459.     ta 4 npop
  460.     newpath
  461.     } ddef
  462. } def
  463. /e                    % matrix e -
  464.     ta _psf
  465.     newpath
  466.     } ddef
  467. } def
  468. /r                    % matrix r -
  469.     ta _tm _pss
  470.     newpath
  471.     } ddef
  472. } def
  473. /a                    % matrix a -
  474.     2 copy
  475.     ta _psf
  476.     newpath
  477.     ta _tm _pss
  478.     newpath
  479.     } ddef
  480. } def
  481. /T                    % - T -
  482. _tm setmatrix
  483. } def
  484. % font operators
  485. /Z                    % array literal literal direction Z -
  486. findfont begin
  487. currentdict dup length 1 add dict begin
  488.     1 index /FID ne
  489.         def
  490.         2 npop
  491.         } ifelse
  492.     } forall
  493. /FontName exch def dup length 0 ne
  494.     /Encoding Encoding 256 array copy def
  495.     0 exch
  496.         dup type /nametype eq
  497.             Encoding 2 index 2 index put pop
  498.             1 add
  499.             exch pop
  500.             } ifelse
  501.         } forall
  502.     } if pop
  503. currentdict dup end end
  504. /FontName get exch definefont pop
  505. } def
  506. % group operators
  507. /u                    % - u -
  508. {} def
  509. /U                    % - U -
  510. {} def
  511. /q                    % - q -
  512. gsave
  513. } def
  514. /Q                    % - Q -
  515. grestore
  516. } def
  517. % place operators
  518. /`                    % matrix llx lly urx ury string ` -
  519. /_i save ddef
  520. 6 1 roll 4 npop
  521. concat
  522. userdict begin
  523. /showpage {} def
  524. false setoverprint
  525. } def
  526. /~                    % - ~ -
  527. _i restore
  528. } def
  529. % color operators
  530. /O                    % flag O -
  531. /_of exch ddef
  532. /_lp /none ddef
  533. } def
  534. /R                    % flag R -
  535. /_os exch ddef
  536. /_lp /none ddef
  537. } def
  538. /g                    % gray g -
  539. /_gf exch ddef
  540. _lp /fill ne
  541.     _of setoverprint
  542.     _gf setgray
  543.     /_lp /fill ddef
  544.     } if
  545. } ddef
  546. } ddef
  547. /_psf
  548. exch pop
  549. ashow
  550. } ddef
  551. /_lp /none ddef
  552. } def
  553. /G                    % gray G -
  554. /_gs exch ddef
  555. _lp /stroke ne
  556.     _os setoverprint
  557.     _gs setgray
  558.     /_lp /stroke ddef
  559.     } if
  560. } ddef
  561. stroke
  562. } ddef
  563. /_pss
  564. } ddef
  565. /_lp /none ddef
  566. } def
  567. /k                    % cyan magenta yellow black k -
  568. _cf astore pop
  569. _lp /fill ne
  570.     _of setoverprint
  571.     _cf aload pop setcmykcolor
  572.     /_lp /fill ddef
  573.     } if
  574. } ddef
  575. } ddef
  576. /_psf
  577. exch pop
  578. ashow
  579. } ddef
  580. /_lp /none ddef
  581. } def
  582. /K                    % cyan magenta yellow black K -
  583. _cs astore pop
  584. _lp /stroke ne
  585.     _os setoverprint
  586.     _cs aload pop setcmykcolor
  587.     /_lp /stroke ddef
  588.     } if
  589. } ddef
  590. stroke
  591. } ddef
  592. /_pss
  593. } ddef
  594. /_lp /none ddef
  595. } def
  596. /x                    % cyan magenta yellow black name gray x -
  597. /_gf exch ddef
  598. findcmykcustomcolor
  599. /_if exch ddef
  600. _lp /fill ne
  601.     _of setoverprint
  602.     _if _gf 1 exch sub setcustomcolor
  603.     /_lp /fill ddef
  604.     } if
  605. } ddef
  606. } ddef
  607. /_psf
  608. exch pop
  609. ashow
  610. } ddef
  611. /_lp /none ddef
  612. } def
  613. /X                    % cyan magenta yellow black name gray X -
  614. /_gs exch ddef
  615. findcmykcustomcolor
  616. /_is exch ddef
  617. _lp /stroke ne
  618.     _os setoverprint
  619.     _is _gs 1 exch sub setcustomcolor
  620.     /_lp /stroke ddef
  621.     } if
  622. } ddef
  623. stroke
  624. } ddef
  625. /_pss
  626. } ddef
  627. /_lp /none ddef
  628. } def
  629. % locked object operators
  630. /A                    % value A -
  631. } def
  632. currentdict readonly pop end
  633. setpacking
  634. %%EndProcSet
  635. %%EndProlog
  636. %%BeginSetup
  637. Adobe_cmykcolor /initialize get exec
  638. Adobe_cshow /initialize get exec
  639. Adobe_customcolor /initialize get exec
  640. Adobe_Illustrator881 /initialize get exec
  641. %%EndSetup
  642. 0 i 0 J 0 j 1 w 4 M []0 d
  643. %%Note:
  644. 299 573 m
  645. 251 573 l
  646. 197.9814 573 155 530.0186 155 477 c
  647. 155 423.9814 197.9814 381 251 381 c
  648. 299 381 l
  649. 325.5093 381 347 359.5093 347 333 c
  650. 347 306.4907 325.5093 285 299 285 c
  651. 299 333 l
  652. 251 333 L
  653. 251 237 L
  654. 251 237 L
  655. 299 237 l
  656. 352.0186 237 395 279.9814 395 333 c
  657. 395 386.0185 352.0186 429 299 429 c
  658. 251 429 l
  659. 224.4907 429 203 450.4907 203 477 c
  660. 203 503.5093 224.4907 525 251 525 c
  661. 251 477 l
  662. 299 477 L
  663. 299 573 L
  664. 107 189 m
  665. 107 621 L
  666. 443 621 L
  667. 443 189 L
  668. 107 189 L
  669. 275 405 m
  670. %%Trailer
  671. Adobe_Illustrator881 /terminate get exec
  672. Adobe_customcolor /terminate get exec
  673. Adobe_cshow /terminate get exec
  674. Adobe_cmykcolor /terminate get exec
  675. NibData
  676. @@@@s
  677. Storage
  678. {*@@}
  679.     [25{*@@}]
  680. File's Owner
  681. CustomObject
  682. Application
  683. MainMenu
  684. MenuTemplate
  685. *@*@ccc
  686. RandomPlot
  687. Matrix
  688. Control
  689.     Responder
  690. @:@iiii
  691. MenuCell
  692. ButtonCell
  693. ActionCell
  694. Info...
  695.     Helvetica
  696. ff@@#::s
  697. MyWindow
  698. WindowTemplate
  699. iiii***@s@
  700. Window
  701. CustomView
  702. PointsView
  703. Random Point Plot
  704. Clear
  705. Start
  706. Button
  707. Points
  708. NXradio
  709. NXradioH
  710. Lines
  711. Radio
  712. Matrix1
  713. Panel
  714.     TextField
  715. TextFieldCell
  716. Helvetica-BoldOblique
  717. Written by Gregor N. Purdy
  718. MVersion 1.0 Copyright 1992, Contemporary Design Studios  All Rights Reserved.
  719. 6A program to demonstrate the use of the Random System.
  720. Helvetica-Oblique
  721. This program uses the Random System from Contemporary Design Studios. Random System is Copyright (C) 1991, 1992 Contemporary Design Studios. All rights reserved.
  722. Field1
  723. Field2
  724. Button1
  725. Field
  726. Field3
  727. Field4!
  728. {i*@@@}
  729. [10{i*@@@}]
  730. hide:
  731. terminate:
  732. startButton
  733. stopButton
  734. start:
  735. stop:
  736. clear:
  737. makeKeyAndOrderFront:
  738. plotPoints:
  739. plotLines:
  740.